package Work;

import java.awt.Desktop;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;

public class OpenFile {
	public String OpenFileXML(){
		File file = new File("/argumento.xml");
		String a="";
		try {
			BufferedReader entrada;
			entrada = new BufferedReader( new FileReader( file ) );
			
			while(entrada.ready() ){
				a=a+entrada.readLine()+"\n";
			}
			System.out.println(a);
			return a;
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return a;
	}/*
	public static void main(String[] args){
		OpenFile f=new OpenFile();
		System.out.println(f.OpenFileXML());
	}*/
}
